package com.xxl.job.executor.service.jobhandler;

import com.xxl.job.executor.dao.DataMapper;
import com.xxl.job.executor.entity.AllData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TestConnectionImpl implements TestConnection {
    @Autowired
    public DataMapper conn;

    @Override
    public List<AllData> searchAll() {
        return conn.selectAll();
    }
}
